package com.roc.admin.infrastructure.config;

import org.springframework.context.annotation.Configuration;

/**
 * Knife4j配置类
 */
@Configuration
public class Knife4jConfig {

    public static final String[] SWAGGER_WHITELIST = {
            "/swagger-ui/**",
            "/swagger-ui/index.html",
            "/swagger-ui.html",
            "/swagger-ui.html/**",
            "/v3/api-docs",
            "/v3/api-docs/**",
            "/api-docs",
            "/api-docs/**",
            "/api-docs.yaml",
            "/swagger-resources",
            "/swagger-resources/**",
            "/doc.html",
            "/doc.html/**",
            "/webjars/**"
    };
}
